﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%
        var _page = ViewData["Page"] as PageEntity;%>
    <%=Html.Title("{0} - {1}",_page.Name,ForumContext.Configuration.ForumName) %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%
        var _page = ViewData["Page"] as PageEntity;
        Html.RenderPartial("Navigation"); %>
    <div class="fr-widget white-space">
        <div class="header">
            <div class="icon">
            </div>
            <span>
                <%=_page.Name%></span>
        </div>
        <%using (Html.BeginForm("LostPwd", "Forum", FormMethod.Post, new { @id = "LostPwd", @onRequest = "$.MvcForum.showLoading();", @onSuccess = "$.MvcForum.ajaxSuccess(msg);" }))
          {

        %>
        <%=Html.AntiForgeryTokenX()%>
        <table cellpadding="0" cellspacing="1" width="100%">
            <tr>
                <td colspan="2" class="table-caption">
                    <%=ForumContext.GetText("LOSTPWD", "Info")%>
                </td>
            </tr>
            <tr>
                <td class="table-cell width40">
                    <%=ForumContext.GetText("LOSTPWD", "Email")%>
                </td>
                <td class="table-cell">
                    <input type="text" name="email" id="email" class="input {validate:{required:true,email:true}}" />
                </td>
            </tr>
            <%-- <tr>
                <td class="table-cell">
                    <%=ForumContext.GetText("LOSTPWD", "ReCaptcha")%>
                </td>
                <td class="table-cell">
                   <%=Html.CaptchaGenerate() %>
                </td>
            </tr>--%>
            <tr>
                <td class="table-cell">
                    &nbsp;
                </td>
                <td class="table-cell">
                    <input type="button" class="button" onclick="$.MvcForum.ajaxSubmit('LostPwd')" value="<%=ForumContext.GetGlobalText  ("SEND") %>" />
                </td>
            </tr>
        </table>
        <%
            }%>
    </div>
</asp:Content>
